Initialize Forecast Process

Use the Initialize Forecast API process to automatically initialize forecasts.

This process is available only through the Cobra API.

Process Settings

Below are the settings you must define for the Initialize Forecast API process.

Setting Description Sample Value
ProcessID This setting informs Cobra to run the Initialize Forecast process. InitializeForecast
Project This setting refers to the project where you want to run the initialize forecast process.

This setting is required.

Demo Advanced
ClassList This setting contains a comma-delimited list of forecast classes to initialize.

This setting is required and must be specified.

F1,F2,F3,F4
Overwrite If value is set to 1, Cobra overwrites an existing forecast.

This setting is optional, and the default value is 0.

1
CopyBaselineDates If value is set to 1, Cobra copies the baseline dates into the forecast dates.

This setting is optional, and the default value is 0.

1
SkipUpdateTotals If value is set to 1, Cobra skips the update totals process at the end of the initialize forecast process.

This setting is optional, and the default value is 0.

1

Sample Script

Below is a sample script file for the Initialize Forecast API process.

[PROCESS000]
ProcessId=InitializeForecast
Project=Demo Advanced
ClassList=F1,F2,F3,F4
Overwrite=1
CopyBaselineDates=1
SkipUpdateTotals=1